package xyz.xtt.equity.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import xyz.xtt.equity.entity.TblAssetBenefitPackage;
import xyz.xtt.equity.mapper.TblAssetBenefitPackageMapper;
import xyz.xtt.equity.service.ITblAssetBenefitPackageService;

/**
 * <p>
 * 资产编号流转记录表 服务实现类
 * </p>
 *
 * @author dale
 * @since 2025-03-14
 */
@Service
public class TblAssetBenefitPackageServiceImpl extends ServiceImpl<TblAssetBenefitPackageMapper, TblAssetBenefitPackage>
		implements ITblAssetBenefitPackageService {

	@Override
	public List<TblAssetBenefitPackage> getByAssetId(Long assetId) {
		return this.lambdaQuery().eq(TblAssetBenefitPackage::getAssetId, assetId).list();
	}
}
